<?php
declare(strict_types=1);

return json_decode(<<<'JSON'
[
    {
        "type": "switch",
        "title": "系统通知",
        "field": "system_notify",
        "value": true,
        "props": {
            "activeText": "开启",
            "inactiveText": "关闭"
        }
    },
    {
        "type": "switch",
        "title": "活动通知",
        "field": "activity_notify",
        "value": true,
        "props": {
            "activeText": "开启",
            "inactiveText": "关闭"
        }
    },
    {
        "type": "switch",
        "title": "订单通知",
        "field": "order_notify",
        "value": true,
        "props": {
            "activeText": "开启",
            "inactiveText": "关闭"
        }
    },
    {
        "type": "switch",
        "title": "物流通知",
        "field": "logistics_notify",
        "value": false,
        "props": {
            "activeText": "开启",
            "inactiveText": "关闭"
        }
    },
    {
        "type": "switch",
        "title": "私信",
        "field": "private_message",
        "value": true,
        "props": {
            "activeText": "开启",
            "inactiveText": "关闭"
        }
    },
    {
        "type": "switch",
        "title": "邮件通知",
        "field": "email_notify",
        "value": false,
        "props": {
            "activeText": "开启",
            "inactiveText": "关闭"
        }
    },
    {
        "type": "switch",
        "title": "短信通知",
        "field": "sms_notify",
        "value": false,
        "props": {
            "activeText": "开启",
            "inactiveText": "关闭"
        }
    },
    {
        "type": "switch",
        "title": "未读消息提醒",
        "field": "unread_reminder",
        "value": false,
        "props": {
            "activeText": "开启",
            "inactiveText": "关闭"
        }
    },
    {
        "type": "inputNumber",
        "title": "公告保留天数",
        "field": "announcement_retention_days",
        "value": 90,
        "props": {
            "min": 1,
            "max": 365,
            "placeholder": "请输入公告保留天数"
        }
    },
    {
        "type": "inputNumber",
        "title": "通知保留天数",
        "field": "notification_retention_days",
        "value": 30,
        "props": {
            "min": 1,
            "max": 365,
            "placeholder": "请输入通知保留天数"
        }
    },
    {
        "type": "inputNumber",
        "title": "私信保留天数",
        "field": "private_message_retention_days",
        "value": 180,
        "props": {
            "min": 1,
            "max": 365,
            "placeholder": "请输入私信保留天数"
        }
    }
]
JSON, true);